package com.koron.order.linepatrol.uav.service;


import com.github.pagehelper.PageInfo;
import com.koron.bean.query.PageQuery;
import com.koron.order.linepatrol.uav.bean.VO.LineDefectPatrolUnv;
import com.koron.order.linepatrol.uav.bean.query.LineDefectPatrolUnvQuery;
import org.koron.ebs.mybatis.SessionFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface LineUnvDefectPatrolService {


    PageInfo<LineDefectPatrolUnv> list(SessionFactory sessionFactory, LineDefectPatrolUnvQuery patrolUnvQuery, PageQuery pageQuery);

    Boolean update(SessionFactory sessionFactory, LineDefectPatrolUnvQuery patrolUnvQuery);

    Boolean deleteLogic(SessionFactory sessionFactory, String id);

    Integer deleteBatch(SessionFactory sessionFactory, List<String> ids);

    Boolean insert(SessionFactory sessionFactory,LineDefectPatrolUnvQuery patrolUnvQuery);
}
